
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>基本设置</title>
  <!--[if lt IE 9]>
  <script type="text/javascript" src="static/js/html5.js"></script>
  <script type="text/javascript" src="static/js/respond.min.js"></script>
  <![endif]-->
 <script type="text/javascript" src="static/js/jquery.min.js"></script>
  <script type="text/javascript" src="static/js/laypage.js"></script>
  <script type="text/javascript" src="static/js/layer.js"></script>
  <link rel="stylesheet" type="text/css" href="static/css/iconfont.css">
  <link href="static/css/Style.css" rel="stylesheet" type="text/css">    
    <script type="text/javascript" src="../main/lib/jquery/1.9.1/jquery.min.js"></script>       
    <link href="../main/lib/layer/skin/default/layer.css?v=3.0.11110" rel="stylesheet" type="text/css">  
	 <link href="images/Main.css" rel="stylesheet" type="text/css">   

  <?php
header("Content-type: text/html; charset=utf-8");

require("conn.php");

$action=@$_GET['action'];
if($action=="save"){
$huming=@$_POST['huming'];
$yinhang=@$_POST['yinhang'];
$zhanghao=@$_POST['zhanghao'];


				 $sql1="update zhi  set yinhang='".$yinhang."',zhanghao='".$zhanghao."',huming='".$huming."' where id=1";
    if (mysql_query($sql1)){ 

	  echo "<script language='javascript'>alert('修改成功！');</script>";
	 }else{
	   echo "<script language='javascript'>alert('修改成功！');history.go(-1)</script>";
	 }
}
$result = @mysql_query("SELECT * FROM zhi where id=1 ");
				 $row = @mysql_fetch_array($result);
?>
</head>
<body>
    <div class="m_path">
        <div class="m_ptxt1">
            <div class="m_nav2" onClick="location.href='admin_config.php';" style=" width:120px"><i class="iconfont">&#xe68a;</i>&ensp;系统设置</div>
       
          <!--  <div class="m_nav1" onClick="location.href='admin_pay.asp';"><i class="iconfont">&#xe601;</i>&ensp;支付设置</div>
            
            <div class="m_nav1" onClick="location.href='admin_slide.asp';"><i class="iconfont">&#xe600;</i>&ensp;幻灯片设置</div>
            
            <div class="m_nav1" onClick="location.href='admin_express.asp';"><i class="iconfont">&#xe671;</i>&ensp;配送方式</div>
            
            <div class="m_nav1" onClick="location.href='admin_ad.asp';"><i class="iconfont">&#xe649;</i>&ensp;广告管理</div>-->
            
        </div>
        <div class="m_ptxt2"><i class="iconfont">&#xe6b8;</i>&ensp;位置：<a href="admin_main.php">首页</a> > 系统设置</div>
    </div>
    <div class="m_rctr">
        <div class="m_ssctt">
            <form id="myform"  name="myform" action="?action=save" method="post" >
                <table width="100%" cellpadding="0" cellspacing="0">
				<input name="errMode" type="hidden" value="0">
                    
                    
				
					 <tr>
                        <td class="t-ar">收款银行：</td>
                        <td>
                            <input type="text" name="yinhang" id="yinhang"   class="input_txt"  value="<?php  echo $row["yinhang"]; ?>">
                            <div class="input_sm">&ensp;</div>                        </td>
                    </tr>
					   <tr>
                        <td width="110" class="t-ar">收款账号：</td>
                        <td>
                            <input type="text" name="zhanghao" id="zhanghao"  class="input_txt"  value="<?php  echo $row["zhanghao"]; ?>">
                            <div class="input_sm">&ensp;</div>                        </td>
                    </tr>
						 <tr>
                        <td class="t-ar">收款户名：</td>
                        <td>
                            <input type="text" name="huming" id="huming"   class="input_txt"  value="<?php  echo $row["huming"]; ?>">
                            <div class="input_sm">&ensp;</div>                        </td>
                    </tr>
					<!--	<tr>
                        <td class="t-ar">首页图：</td>
                        <td>
                            <input type="text" name="pic3" id="pic3"   class="input_txt" value="<?php  echo $row["pic3"]; ?>">
                            <iframe width="200" height="150" src="chuanh.php?formName=myform&name1=pic3" scrolling=no  frameborder=0></iframe>
                        </td>
                    </tr>-->
					
					 <script type="text/javascript" charset="utf-8" src="../utf8-php/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="../utf8-php/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="../utf8-php/lang/zh-cn/zh-cn.js"></script>

    <style type="text/css">
        div{
            width:100%;
        }
    </style>
                    
                 <script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例，如果在某个闭包下引用该编辑器，直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');



</script>
						
					
                    <tr>
                        <td height="55" style="border:0;">&nbsp;</td>
                        <td style="border:0;">
                            <input type="submit" class="input_btn" value="确认保存" >
                            <input type="reset" class="input_btn" value="取消重置" onMouseOver="this.className='input_btn1'" onMouseOut="this.className='input_btn'">                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</body>
</html>

